package com.sundablog.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sundablog.mapper.TestMapper;
import com.sundablog.pojo.Test;
import com.sundablog.service.TestService;

@Service
public class TestServiceImpl implements TestService {

	@Autowired
	private TestMapper testMapper;
	
	@Override
	public Test getByIdTest(int id) {
		Test test = testMapper.selectByPrimaryKey(id);

		return test;
		
	}

}
